import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/login',
      name: 'Login',
      component: () => import('../views/Login.vue'),
    },
    {
      path: '/user',
      name: 'User',
      component: () => import('../views/User.vue'),
    },
    {
      path: '/find',
      name: 'Find',
      component: () => import('../views/Find.vue'),
    },
    {
      path: '/message',
      name: 'Message',
      component: () => import('../views/Message.vue'),
    },
  ],
})
export default router
